home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
asenda1a
/
form2.frm
< prev
next >
Wrap
Text File
|
1999-06-28
|
2KB
|
67 lines
VERSION 5.00
Begin VB.Form Form2
Caption = "FIND ASCEND"
ClientHeight = 3195
ClientLeft = 60
ClientTop = 345
ClientWidth = 4095
LinkTopic = "Form2"
ScaleHeight = 3195
ScaleWidth = 4095
StartUpPosition = 3 'Windows Default
Begin VB.CommandButton Command1
Caption = "Done"
Height = 525
Left = 2820
TabIndex = 3
Top = 2640
Width = 1245
End
Begin VB.DriveListBox Drive1
Height = 315
Left = 30
TabIndex = 1
Top = 30
Width = 2685
End
Begin VB.DirListBox Dir1
Height = 2790
Left = 30
TabIndex = 0
Top = 390
Width = 2715
End
Begin VB.Label Label1
Caption = "Point me to the acsendacy Directory and click the button below."
Height = 855
Left = 2760
TabIndex = 2
Top = 60
Width = 1320
WordWrap = -1 'True
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
On Error GoTo Errhand
Open Dir1.Path & "\Nougat.lf" For Output As 9
Print #9, ""
Close 9
Unload Form2
Exit Sub
Errhand:
MsgBox "Err you can try to select a diffrent directory. Click OK."
End Sub
Private Sub Drive1_Change()
On Error GoTo handerr
Dir1.Path = Drive1.Drive
Exit Sub
handerr:
Exit Sub
End Sub